home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990725-20000114
/
000098_news@columbia.edu _Tue Sep 14 20:51:58 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA20702
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 14 Sep 1999 20:51:57 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id UAA21346
for kermit.misc@watsun.cc.columbia.edu; Tue, 14 Sep 1999 20:22:50 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: Mark Sapiro <msapiro@value.net>
Subject: Re: Q: about scripts & .kermrc
Date: Tue, 14 Sep 1999 17:21:42 -0700
Organization: Not Very Much
Message-ID: <37DEE696.D7423E9@value.net>
To: kermit.misc@columbia.edu
nigel@DELETE-NOSPAM.negin.nu wrote:
>
> I'm using a shell script called 'dialout' which sets some environment varibales
> and then call a kermit script (starts with #!/usr/local/bin/kermit + )
> which will go out and find the first available modem on a modem pool.
>
> I also have a .kermrc file which doesn't appear to be executed when I run
> dialout to eventually load kermit.
>
> Is there something I can put in the script to force kermit to load the
> .kermrc or am I missing something? I've looked around and havn't seen
> anything mentioned about it.
>
> C-Kermit 7.0.196 Beta.10, 4 Sep 1999, for IBM AIX 4.1
This behavior is intentional. See Ckermit2.txt, sec 7.19 a. Partially
quoted below. If you don't need to pass command line arguments to the
script, you can remove the '+' from the end of the 'kerbang' line.
Otherwise, you can put a 'take' command for .kermrc in the script.
a. The first line of the Kermit script must begin with "#!" immediately
followed by the full pathname of the program that will execute the
script (in this case, C-Kermit rather than a UNIX shell), followed by
any Kermit command-line options. To suppress execution of the C-Kermit
initialization file and to make command line arguments available to the
script, the final option should be "+":
#!/usr/local/bin/kermit +
--
Mark Sapiro <msapiro@value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan